package com.ot.flink.cdc.common;

import lombok.AllArgsConstructor;

/**
 * 任务状态
 *
 * @author: admin
 * @date: 2024/5/8
 * @since JDK1.8 version: 1.0.0
 */
@AllArgsConstructor
public enum TaskStatusEnum {

    RUNNING("running", "正常"),
    STOP("stop", "停止"),
    STOP_ERROR("stop_error", "错误"),
    ;
    private String code;

    private String desc;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
